<template>
	<view class="box">
		<view class="topbox">
			<view class="" style="height: 335rpx;"></view>
			<scroll-view scroll-x="true">
				<view class="cardbox">
					<view class="" style="margin-left: 25rpx;" v-for="(item,index) in 12">
						<view class="imgbox">
							<image src="../../static/组30.png" mode=""></image>
							<text class="num">10</text>
						</view>
						<view class="jjc">
							<text>奖金池:</text>
							<text class="money">￥1.00</text>
						</view>
						<view class="jjc">
							<text>今日可兑换:</text>
							<text class="money">￥1.00</text>
						</view>
						<view class="zs">
							单张兑换
						</view>
						<view class="zz">
							转赠
						</view>
					</view>
				</view>
			</scroll-view>
			<view class="bar">
				<u-notice-bar color="#F74033" bg-color="#FFF2E9" :volume-icon="false" mode="horizontal" :list="list">
				</u-notice-bar>
			</view>
			<view class="listbox">
				<!-- 组合介绍 -->
				<Basecombination name="三卡组合"></Basecombination>
				<view class="hr"></view>
				<Basecard style="margin-top: 29rpx;"></Basecard>
				<view class="ljfh">
					立即兑换100元
				</view>
			</view>
			<view class="listbox">
				<!-- 组合介绍 -->
				<Basecombination name="六卡组合"></Basecombination>
				<view class="hr"></view>
				<Basecard style="margin-top: 29rpx;"></Basecard>
				<view class="ljfh">
					立即兑换100元
				</view>
			</view>
			<view class="listbox">
				<!-- 组合介绍 -->
				<Basecombination name="十二卡组合"></Basecombination>
				<view class="hr"></view>
				<Basecard style="margin-top: 29rpx;"></Basecard>
				<view class="ljfh">
					立即兑换100元
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import Basecombination from "../../components/Basecombination/index.vue"
	import Basecard from "../../components/Basecard/index.vue"
	export default {
		data() {
			return {
				list: [
					'寒雨连江夜入吴',
					'平明送客楚山孤',
					'洛阳亲友如相问',
					'一片冰心在玉壶'
				],
			}
		},
		components: {
			Basecombination,
			Basecard
		}
	}
</script>

<style lang="scss" scoped>
	.topbox {
		width: 100%;
		height: 520rpx;
		background-image: url(../../static/组17_65.png);
		background-size: 100% 520rpx;

		.cardbox {
			display: flex;

			.imgbox {
				width: 210rpx;
				height: 275rpx;
				position: relative;

				image {
					width: 210rpx;
					height: 275rpx;
				}

				text {
					position: absolute;
					width: 30rpx;
					height: 30rpx;
					border-radius: 30rpx;
					line-height: 30rpx;
					text-align: center;
					background-color: #eb4000;
					font-family: MicrosoftYaHei;
					font-size: 14rpx;
					color: #FCECE9;
					top: 0;
					right: -4rpx;
					z-index: 100;
				}
			}

			.jjc {
				font-family: MicrosoftYaHei;
				font-size: 10rpx;
				color: #333333;
				margin-top: 23rpx;
				font-weight: 700;
				// width: 250rpx;

				.money {
					color: #eb4000;
				}
			}

			.zs {
				width: 170rpx;
				height: 46rpx;
				background-image: linear-gradient(89deg,
						#fc6830 0%,
						#f6301e 100%);
				border-radius: 23rpx;
				line-height: 46rpx;
				text-align: center;
				color: #fff;
				font-family: SourceHanSansCN-Regular;
				font-size: 22rpx;
				margin: 0 auto;
				margin-top: 30rpx;
			}

			.zz {
				width: 170rpx;
				height: 46rpx;
				background-image: linear-gradient(#f7f7f7,
						#f7f7f7),
					linear-gradient(89deg,
						#fc6830 0%,
						#f6301e 100%);
				background-blend-mode: normal,
					normal;
				border-radius: 23rpx;
				border: solid 1rpx #f84023;
				line-height: 46rpx;
				text-align: center;
				font-family: SourceHanSansCN-Regular;
				font-size: 22rpx;
				color: #F6311E;
				margin: 0 auto;
				margin-top: 16rpx;
			}
		}
	}

	.bar {
		width: 700rpx;
		margin: 0 auto;
		margin-top: 30rpx;
	}

	.listbox {
		background-color: #fff;
		width: 700rpx;
		border-radius: 10rpx;
		margin: 0 auto;
		padding: 20rpx;
		box-sizing: border-box;
		margin-top: 40rpx;

		.hr {
			width: 660rpx;
			height: 1rpx;
			background-color: #dcdcdc;
			margin: 0 auto;
			margin-top: 30rpx;
		}

		.ljfh {
			width: 660rpx;
			height: 78rpx;
			background-color: #f73f33;
			border-radius: 39rpx;
			line-height: 78rpx;
			text-align: center;
			margin: 0 auto;
			font-family: SourceHanSansCN-Regular;
			font-size: 30rpx;
			color: #fff;
			margin-top: 10rpx;
		}
	}
</style>
